﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using SystemCenterSoa.DtoModel.Common;
using SystemCenterSoa.IRepository.SystemSettings.QualificationAdministration;
using SystemCenterSoa.PoModel.SystemSettings.QualificationAdministration;

namespace SystemCenterSoa.Service.SystemSettings.QualificationAdministration
{
    public class ArcTitltSettingService: BaseService
    {
        private IArcTitltSettingRepository _arcTitltSettingRepository;
        public ArcTitltSettingService(IArcTitltSettingRepository arcTitltSettingRepository)
        {
            _arcTitltSettingRepository = arcTitltSettingRepository;
        }
        public bool ArcTitltSettingAdd(ArcTitltSettingPo info)
        {
            return _arcTitltSettingRepository.ArcTitltSettingAdd(info);
        }

        public bool ArcTitltSettingDelete(string ids)
        {
            return _arcTitltSettingRepository.ArcTitltSettingDelete(ids);
        }

        public ArcTitltSettingPo ArcTitltSettingEdit(int id)
        {
            return _arcTitltSettingRepository.ArcTitltSettingEdit(id);
        }

        public bool ArcTitltSettingUpdate(ArcTitltSettingPo info)
        {
            return _arcTitltSettingRepository.ArcTitltSettingUpdate(info);
        }

        public PagerResult<ArcTitltSettingPo> SearchPage(SearchModel searchModel)
        {
            return _arcTitltSettingRepository.SearchPage(searchModel);
        }
    }
}
